package com.ruoyi.sys.energ.entity;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计量点设置（关于水和电之类的设置信息配置）对象 tb_energ
 * 
 * @author jinsuo
 * @date 2022-05-24
 */
@Data
public class TbEnerg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long eId;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String eSid;

    /** 设置名称 */
    @Excel(name = "设置名称")
    private String eName;

    /** 原厂编号 */
    @Excel(name = "原厂编号")
    private String eOriginal;

    /** 设备类型（0：电表1：水表） */
    @Excel(name = "设备类型", readConverterExp = "0=：电表1：水表")
    private Long eType;

    /** 电表1. 商业用电(办公用电)2. 居民用电水表3. 清洁用水4. 办公用水 */
    @Excel(name = "电表 1. 商业用电(办公用电) 2. 居民用电 水表 3. 清洁用水 4. 办公用水")
    private Long eUse;

    /** 楼栋 */
    @Excel(name = "楼栋")
    private String eBuilder;

    /** 楼层 */
    @Excel(name = "楼层")
    private String eFloor;

    /** 房间 */
    @Excel(name = "房间")
    private String eRoom;

    /** 状态（0：在线1：离线） */
    @Excel(name = "状态", readConverterExp = "0=：在线1：离线")
    private Long eState;

    public void seteId(Long eId)
    {
        this.eId = eId;
    }

    public Long geteId()
    {
        return eId;
    }
    public void seteSid(String eSid)
    {
        this.eSid = eSid;
    }

    public String geteSid()
    {
        return eSid;
    }
    public void seteName(String eName)
    {
        this.eName = eName;
    }

    public String geteName()
    {
        return eName;
    }
    public void seteOriginal(String eOriginal)
    {
        this.eOriginal = eOriginal;
    }

    public String geteOriginal()
    {
        return eOriginal;
    }
    public void seteType(Long eType)
    {
        this.eType = eType;
    }

    public Long geteType()
    {
        return eType;
    }
    public void seteUse(Long eUse)
    {
        this.eUse = eUse;
    }

    public Long geteUse()
    {
        return eUse;
    }
    public void seteBuilder(String eBuilder)
    {
        this.eBuilder = eBuilder;
    }

    public String geteBuilder()
    {
        return eBuilder;
    }
    public void seteFloor(String eFloor)
    {
        this.eFloor = eFloor;
    }

    public String geteFloor()
    {
        return eFloor;
    }
    public void seteRoom(String eRoom)
    {
        this.eRoom = eRoom;
    }

    public String geteRoom()
    {
        return eRoom;
    }
    public void seteState(Long eState)
    {
        this.eState = eState;
    }

    public Long geteState()
    {
        return eState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eId", geteId())
            .append("eSid", geteSid())
            .append("eName", geteName())
            .append("eOriginal", geteOriginal())
            .append("eType", geteType())
            .append("eUse", geteUse())
            .append("eBuilder", geteBuilder())
            .append("eFloor", geteFloor())
            .append("eRoom", geteRoom())
            .append("eState", geteState())
            .toString();
    }
}
